<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Administration - <?php echo $title_for_layout?></title>
		<link rel="shortcut icon" href="img/logo.ico" type="image/x-icon" />
		<!-- Include external files and scripts here (See HTML helper for more info.) -->
		<?php echo $this->Html->css('globale.css'); ?>
		<?php echo $scripts_for_layout; ?>
	</head>
	<body>
		<div id="entete">
			<?PHP echo $this->Html->image('Slogan2.gif', array('alt'=>'logo voxity')); ?>
			<div class="info_connexion">
				<?php if($this->Session->read('utilisateur')): ?>
					Bonjour <?PHP echo $this->Session->read('utilisateur.nom'); ?> <br />
				Vous êtes administrateur. <br />
								<?PHP echo $this->Html->link(
						'Modifier le compte',
						'/utilisateurs/modifier_compte',
						array());?> <br/>
				<?PHP echo $this->Html->link(
						'Se déconnecter',
						'/utilisateurs/deconnexion',
						array()); ?>
				<?php endif; ?>
			</div>
		</div>
		
		<div id="menu">
			<ul>
				<li><?PHP echo $this->Html->link('Accueil', '/'); ?></li>
				<!--<li><?PHP /*echo $this->Html->link('Créer un devis', '/societes/creer'); */ ?></li>-->
				<li><?PHP echo $this->Html->link('Administration', '/administration'); ?></li>
			</ul>
		</div>
		
		<div id="contenu">
			<?PHP echo $this->Session->flash(); ?>
			<!-- Here's where I want my views to be displayed -->
			<?php echo $content_for_layout ?>
		</div>
		
		<div id="pied">&nbsp;</div>
	</body>
</html>
